package com.atldy.atm.domain;

/**
 * @author 唐多山
 * @create 2020-09-11 9:33
 */
public class User {

    private String  username;
    private String  name;
    private String  pwd;
    private String  phone;
    private Integer  money;

    public User() {
    }

    public User(String username, String name, String pwd, String phone, Integer money) {
        this.username = username;
        this.name = name;
        this.pwd = pwd;
        this.phone = phone;
        this.money = money;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", phone='" + phone + '\'' +
                ", money=" + money +
                '}';
    }
}
